import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'app-demo8',
  templateUrl: './demo8.component.html',
  styles: [``]
})
export class Demo8Component {
  val = 40;
  onChange(event) {
    console.log(event);
  }
}